package xyz.xtt.exchange.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;

import xyz.xtt.exchange.entity.TblUserCollect;
import xyz.xtt.exchange.vo.NftListVo;
import xyz.xtt.exchange.vo.UserRelationshipVO;

/**
 * <p>
 * 用户收藏表 服务类
 * </p>
 *
 * @author author
 * @since 2024-12-28
 */
public interface IUserCollectService extends IService<TblUserCollect> {
    boolean getStatus(Long uid, String goodsId, int signType);
    boolean add(Long uid, String goodsId, int signType);
    boolean del(Long uid, String goodsId, int signType);

    List<NftListVo> getCollectList(String uid, Integer currPage, Integer pageSize,int businessType,  int orderType);

    List<UserRelationshipVO> getAllCollect(Long userId, Integer currPage, Integer pageSize);
}
